package com.biwin.module.security.api.vo;

import com.biwin.module.org.api.vo.PositionVo;
import com.biwin.module.org.api.vo.SystemUserVo;

import java.util.Collection;

/**
 * 在线用户信息,登录成功后,返回给client端的信息.
 *
 * @author biwin
 * @since 0.0.1
 */
/*public class OnlineUserInfoVo extends SystemUserVo {

    *//**
     * 当前使用的岗位
     *//*
    private PositionVo nowPositionVo;

    *//**
     * 拥有的所有权限
     *//*
    private Collection authorities;

    *//**
     * 用户 token 信息
     *//*
    private String token;

    public OnlineUserInfoVo() {
    }

    public OnlineUserInfoVo(Collection authorities, PositionVo nowPositionVo, String token) {
        this.authorities = authorities;
        this.nowPositionVo = nowPositionVo;
        this.token = token;
    }

    public Collection getAuthorities() {
        return authorities;
    }

    public void setAuthorities(Collection authorities) {
        this.authorities = authorities;
    }

    public PositionVo getNowPositionVo() {
        return nowPositionVo;
    }

    public void setNowPositionVo(PositionVo nowPositionVo) {
        this.nowPositionVo = nowPositionVo;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}*/
